<a href="{{ path('twigxuanranurl') }}">Home</a>

<br />

{% for article in 1..5 %}
    <a href="{{ path('twigxuanranurl', {'slug': 111111}) }}">
        名称
    </a>
{% endfor %}

<br />

生成一个绝对url
<a href="{{ url('twigxuanranurl') }}">Home</a>




<img src="{{ asset('images/logo.png') }}" alt="Symfony!" />

